package cn.xinfei.xdecision.common.model.datax.datamanage.request;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors
public class VariableCopyToFolderReqVo {
    @ApiModelProperty("变量code")
    @NotNull(message = "变量code不能为空")
    private String varCode;

    @ApiModelProperty("变量copyName")
    @NotNull(message = "变量copyName不能为空")
    private String varCopyName;

    @ApiModelProperty("变量copyCode")
    @NotNull(message = "变量copyCode不能为空")
    private String varCopyCode;


    @ApiModelProperty("变量类型")
    @NotNull(message = "变量类型不能为空")
    private Integer varType;

    @NotNull(message = "文件夹id不能为空!")
    @ApiModelProperty("(复制至)文件夹id")
    private Long folderId;

    @ApiModelProperty("变量描述")
    private String desc;
    private Long userId;

    private Long organId;
    private String modifier;
}
